package cn.tedu._05mvcboot02.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {



    OPERATION_SUCCESS(2000,"操作成功"),
    OPERATION_FAILED(3000,"操作失败"),
    THROWABLE_ERROR(4000, "出现Trhowable异常!"),
    VALIDATED_ERROR(5000, "参数校验失败");
    //状态码code,提示消息msg
    private Integer code;
    private String msg;
}
